package com.zlc.common.core.process.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zlc.common.common.service.BaseService;
import com.zlc.common.core.process.model.entity.StoneNodeApproveUserConfig;
import com.zlc.common.core.process.model.entity.StoneProcessAuthConfig;
import com.zlc.common.core.process.model.vo.StoneProcessAuthConfigVo;
import com.zlc.common.core.process.mapper.StoneProcessAuthConfigMapper;

import java.util.List;

/**
 * @author  zl
 * @date 2023-10-17 
 */
public interface StoneProcessAuthConfigService extends BaseService<StoneProcessAuthConfigMapper, StoneProcessAuthConfig, StoneProcessAuthConfigVo> {

    void removeByProcessId(String processId);

    List<StoneProcessAuthConfigVo> getProcessAuth(String processId);

    List<StoneProcessAuthConfigVo> getByProcessId(String processId);


    List<StoneProcessAuthConfigVo> getNodeAllowAuth(String processId,String nodeId);


    List<StoneProcessAuthConfigVo> getProcessAllowAuth(String processId);

}
